<div class="form-group">
    <label for="name" class="col-sm-2 control-label">文件名称</label>
    <div class="col-sm-10">
        #@textInput("text","modulePic.name","name","请输入文件名称...",modulePic.name??'')
    </div>
</div>
<div class="form-group">
    <label for="name" class="col-sm-2 control-label">URL</label>
    <div class="col-sm-10">
        #@textInput("text","modulePic.url","name","请输入URL...",modulePic.url??'')
    </div>
</div>
<div class="form-group">
    <label for="type" class="col-sm-2 control-label">图片类型</label>
    <div class="col-sm-10">
        <select class="form-control" name="modulePic.type">
            <option value="1" #if(modulePic??&&modulePic.type==1)selected#end>主页幻灯图片</option>
            <option value="2" #if(modulePic??&&modulePic.type==2)selected#end>商城幻灯图片</option>
        </select>
    </div>
</div>
<div class="form-group">
    <label for="url" class="col-sm-2 control-label">图片地址</label>
    <div class="col-sm-10">
        #@webUploaderBtn(modulePic,"modulePic.cover")
    </div>
</div>

<div class="form-group">
    <label for="sort" class="col-sm-2 control-label">排序</label>
    <div class="col-sm-10">
        #@textInput("text","modulePic.sort","sort","请输入排序...",modulePic.sort??'')
    </div>
</div>
<div class="form-group">
    <label for="remark" class="col-sm-2 control-label">备注说明</label>
    <div class="col-sm-10">
        #@textAreaInput("modulePic.remark","remark","请输入备注说明...",modulePic.remark??'')
    </div>
</div>

<div class="form-group">
    <div class="col-sm-offset-8 col-sm-10">
        <button type="button" id="submitBtn" class="btn btn-primary">点我保存</button>
        <input type="hidden" name="modulePic.id" value="#(modulePic.id??'')" id="id">
    </div>
</div>